-
Notifications
You must be signed in to change notification settings - Fork 5k
chore: fix defer usage for stopped status reporting #46916
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
chore: fix defer usage for stopped status reporting #46916
Conversation
Signed-off-by: Kavindu Dodanduwa <[email protected]>
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
This pull request does not have a backport label.
To fixup this pull request, you need to add the backport labels for the needed
|
Signed-off-by: Kavindu Dodanduwa <[email protected]>
df63bde
to
55c7298
Compare
Pinging @elastic/obs-ds-hosted-services (Team:obs-ds-hosted-services) |
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
Thanks, the reason the beats/x-pack/libbeat/management/unit.go Lines 219 to 233 in eadc27e
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the data plane team is only requested here because we are default code owners of the new changelog/fragments directory. #46931 should fix that.
So approving that part. We aren't code owners of the s3 or cloudwatch inputs, but if we were I'd ask for a unit test of this change ;)
@joecompute @cmacknz thank you for the review and explanation on why state doesn't get updated. Regarding unit tests, I checked into this. But currently we do not have any unit tests targeting |
Update : I wil merge this on 06.10.2025 |
Proposed commit message
Improve how
stopped
status get reported in S3 & CloudWatch inputs.Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.